<?php
/**
 * ShopEx licence
 *
 * @copyright  Copyright (c) 2005-2010 ShopEx Technologies Inc. (http://www.shopex.cn)
 * @license  http://ecos.shopex.cn/ ShopEx License
 */

class b2c_finder_business_orders_orderslist{

    public function __construct($app)
    {
        $this->app = $app;
    }

    var $column_con = '确认库存';
    public function column_con($row) {
        return '<a href="index.php?app=b2c&ctl=admin_business_orderlist&act=to_split&business_id='.$row['business_id'].'&state='.$row['state'].' " target="dialog::{title:\'确认库存\', width:1200, height:500}">确认库存</a>';
    }

    var $column_busnum = '确认数量';
    public function column_busnum($row) {
        $title = $row['num'];
        return $title;
    }

    var $column_busid = '供应商id';
    public function column_busid($row) {
        $title = $row['business_id'];
        return $title;
    }

    var $column_busname = '供应商名称';
    public function column_busname($row) {
        $title = $row['english_all_name'];
        return $title;
    }

    var $column_operator = '操作员';
    public function column_operator($row) {
        $title = $row['name'];
        return $title;
    }


}
